package srvGoods

import (
	"context"
	goods_pb "mxshop/api/goods/v1"
	dtoGoods "mxshop/app/mxshop_api/api/internal/domain/dto/goods"
)

type CategoryBrandSrv interface {
	// 品牌分类

	CategoryBrandList(ctx context.Context, req *goods_pb.CategoryBrandFilterRequest) (*dtoGoods.CategoryBrandDTOList, error)

	// 通过category获取brands

	GetCategoryBrandList(ctx context.Context, ID int64) (*dtoGoods.BrandDTOList, error)
	CreateCategoryBrand(ctx context.Context, req *dtoGoods.CategoryBrandDTO) (*dtoGoods.CategoryBrandDTO, error)
	DeleteCategoryBrand(ctx context.Context, ID int64) error
	UpdateCategoryBrand(ctx context.Context, req *dtoGoods.CategoryBrandDTO) error
}
